import config from "../utils/config"
export default {
	getOneCate:({success})=>{
		uni.request({
			url:config["server"]+'type',
			method:"get",
			success,
		})
	},
	getTwoCate:({_id,success})=>{
		uni.request({
			url:config["server"]+'typeTwo/typeOne='+ _id,
			method:"get",
			success,
		})
	},
}